From 0c247302d09c0759cef9b098dd7b93ad89b039f6 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 12 Oct 2021 09:41:32 +0200 Subject: [PATCH] Add upstream patch to include Closes: #984399 --- debian/patches/91_include_limits.patch | 63 ++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 64 insertions(+) create mode 100644 debian/patches/91_include_limits.patch diff --git a/debian/patches/91_include_limits.patch b/debian/patches/91_include_limits.patch new file mode 100644 index 000000000..6b103bcc8 --- /dev/null +++ b/debian/patches/91_include_limits.patch @@ -0,0 +1,63 @@ +From e066c3f4fbbfe7470c6207db0fc3f3952db633cb Mon Sep 17 00:00:00 2001 +From: Mark Olesen +Date: Tue, 9 Feb 2021 15:19:10 +0100 +Subject: [PATCH] COMP: missing includes (clang) + +--- + Common/Core/vtkGenericDataArrayLookupHelper.h | 1 + + Common/DataModel/vtkPiecewiseFunction.cxx | 1 + + Filters/HyperTree/vtkHyperTreeGridThreshold.cxx | 1 + + Rendering/Core/vtkColorTransferFunction.cxx | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/Common/Core/vtkGenericDataArrayLookupHelper.h b/Common/Core/vtkGenericDataArrayLookupHelper.h +index ab9d57248f8..202aaa27f4a 100644 +--- a/Common/Core/vtkGenericDataArrayLookupHelper.h ++++ b/Common/Core/vtkGenericDataArrayLookupHelper.h +@@ -25,6 +25,7 @@ + #include "vtkIdList.h" + #include + #include ++#include + #include + #include + +diff --git a/Common/DataModel/vtkPiecewiseFunction.cxx b/Common/DataModel/vtkPiecewiseFunction.cxx +index 22eca0bc22e..11086f1dc42 100644 +--- a/Common/DataModel/vtkPiecewiseFunction.cxx ++++ b/Common/DataModel/vtkPiecewiseFunction.cxx +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx +index a16bb27fc66..1052192c616 100644 +--- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx ++++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx +@@ -27,6 +27,7 @@ + #include "vtkHyperTreeGridNonOrientedCursor.h" + + #include ++#include + + vtkStandardNewMacro(vtkHyperTreeGridThreshold); + +diff --git a/Rendering/Core/vtkColorTransferFunction.cxx b/Rendering/Core/vtkColorTransferFunction.cxx +index 55c046b4df7..1be02919ab9 100644 +--- a/Rendering/Core/vtkColorTransferFunction.cxx ++++ b/Rendering/Core/vtkColorTransferFunction.cxx +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +GitLab + diff --git a/debian/patches/series b/debian/patches/series index 1d3773ebe..9d3acbba2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,6 +9,7 @@ 81_allow_gles_platforms.patch 82_allow_gles_platforms.patch 83_allow_gles_platforms.patch +91_include_limits.patch 95_java_mach-arch_fix.patch 97_reproducible_builds.patch 98_fix_mpi4py.py -- 2.30.2